-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add default client configurations #1312
Conversation
d514404
to
a2ebce5
Compare
Sources/Core/AWSClientRuntime/Config/AwsDefaultClientConfiguration.swift
Outdated
Show resolved
Hide resolved
Sources/Core/AWSClientRuntime/Config/AwsDefaultClientConfiguration.swift
Outdated
Show resolved
Hide resolved
a2ebce5
to
bed4856
Compare
bed4856
to
f8d8840
Compare
f8d8840
to
14e1a2f
Compare
9d46af7
to
a6fddf0
Compare
a6fddf0
to
bd15aaa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just one nit here I'd like addressed! I am good with the code logic
// swiftlint:disable switch_case_alignment | ||
switch try self.retryMode(nil) { | ||
case .legacy, .standard: | ||
resolvedRateLimitingMode = .standard | ||
case .adaptive: | ||
resolvedRateLimitingMode = .adaptive | ||
} | ||
// swiftlint:enable switch_case_alignment | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: should remove switftlint disable switch_case_alignment and move case statements over so that they are in-line with switch
bd15aaa
to
ecb45fc
Compare
I have addressed Josh's comments
/test |
Description of changes
AWSClientConfigDefaultsProvider.swift
provides all the default values for client config propertiesNew/existing dependencies impact assessment, if applicable
Conventional Commits
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.